name = "\tzhang san\t"
print(f"原始名字：{name}")

stripped_left = name.lstrip()
stripped_right = name.rstrip()
stripped_both = name.strip()

print(f"\n去除左侧空白：{stripped_left}")
print(f"\n去除右侧空白：{stripped_right}")
print(f"\n去除空白：{stripped_both}")